﻿@using System.Diagnostics.CodeAnalysis
@using BBCore.Infrastructure.Helps

<ValidateForm @ref="_validateForm" Model="_changePasswordVo" OnValidSubmit="OnValidSubmit">
    <div class="row">
        <div class="col-12">
            <BootstrapPassword @bind-Value="_changePasswordVo.OldPassword" DisplayText="原密码"></BootstrapPassword>
        </div>
    </div>
    <div class="row">
        <div class="col-12">
            <BootstrapPassword @bind-Value="_changePasswordVo.NewPassword" DisplayText="新密码" ></BootstrapPassword>
        </div>
    </div>
    <div class="row">
        <div class="col-12">
            <BootstrapPassword @bind-Value="_changePasswordVo.RePassword" DisplayText="确认新密码" ></BootstrapPassword>
        </div>
    </div>

    <div class="modal-footer">
        <DialogCloseButton></DialogCloseButton>
        <Button Text="确认" Icon="fa-solid fa-floppy-disk" ButtonType="ButtonType.Submit"></Button>
    </div>
</ValidateForm>


